/** * Plugin Name: TP Education * Plugin URI: https://www.themepalace.com/plugins/tp_education * Description: A plugin to add custom post types ( Events, Courses, Classes, Excursions, Team, Testimonial, Affiliation ) and it's required meta fields for educational sites. This plugin is dedicated for educational themes. * Version: 4.5 * Author: Theme Palace * Author URI: https://themepalace.com * Requires at least: 4.7 * Tested up to: 6.2 * Requires PHP : 5.6 * Text Domain: tp-education * Domain Path: /languages/ * * @package TP Education * @category Core * @author Theme Palace */ if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly. } if ( ! class_exists( 'TP_Education' ) ) : final class TP_Education { public function __construct() { $this->tp_education_constant(); $this->tp_education_includes(); $this->tp_education_hooks(); $this->tp_education_install_uninstall_hook(); } public function tp_education_constant() { define( 'TP_EDUCATION_BASE_PATH', dirname( __FILE__ ) ); define( 'TP_EDUCATION_URL_PATH', plugin_dir_url( __FILE__ ) ); define( 'TP_EDUCATION_PLUGIN_BASE_PATH', plugin_basename( __FILE__ ) ); define( 'TP_EDUCATION_PLUGIN_FILE_PATH', __FILE__ ); } private function tp_education_install_uninstall_rewrite() { /* * flush rewrite rules */ register_activation_hook( TP_EDUCATION_PLUGIN_FILE_PATH, array( 'TP_Education', 'tp_education_rewrite' ) ); register_deactivation_hook( TP_EDUCATION_PLUGIN_FILE_PATH, array( 'TP_Education', 'tp_education_rewrite' ) ); } private function tp_education_install_uninstall_hook() { /* * Activation and Deactivation hook */ add_action( 'init', array( $this, 'tp_education_install_uninstall_rewrite' ) ); } public function tp_education_add_action_links( $links ) { /* * Add Support link to plugin action */ $mylinks = array( '' . __( 'Settings', 'tp-education' ) . '', ); return array_merge( $links, $mylinks ); } static function tp_education_rewrite() { flush_rewrite_rules( $hard = false ); } public function tp_education_includes() { $options = get_option( 'tp_education_setting_option' ); /* * Setting Page */ include_once TP_EDUCATION_BASE_PATH . '/includes/tp-education-setting-page.php'; /* * CUSTOM POST TYPE */ // Courses Post Type if ( isset( $options['enable_course_post_type'] ) ) : include_once TP_EDUCATION_BASE_PATH . '/tp-post-type/class-tp-courses.php'; endif; // Classes Post Type if ( isset( $options['enable_class_post_type'] ) ) : include_once TP_EDUCATION_BASE_PATH . '/tp-post-type/class-tp-classes.php'; endif; // Events Post Type if ( isset( $options['enable_event_post_type'] ) ) : include_once TP_EDUCATION_BASE_PATH . '/tp-post-type/class-tp-events.php'; endif; // Excursions Post Type if ( isset( $options['enable_excursion_post_type'] ) ) : include_once TP_EDUCATION_BASE_PATH . '/tp-post-type/class-tp-excursions.php'; endif; // Team Post Type if ( isset( $options['enable_team_post_type'] ) ) : include_once TP_EDUCATION_BASE_PATH . '/tp-post-type/class-tp-team.php'; endif; // Testimonial Post Type if ( isset( $options['enable_testimonial_post_type'] ) ) : include_once TP_EDUCATION_BASE_PATH . '/tp-post-type/class-tp-testimonial.php'; endif; // Affiliation Post Type if ( isset( $options['enable_affiliation_post_type'] ) ) : include_once TP_EDUCATION_BASE_PATH . '/tp-post-type/class-tp-affiliation.php'; endif; /* * META BOX */ // Classes Meta Box if ( isset( $options['enable_class_post_type'] ) ) : include_once TP_EDUCATION_BASE_PATH . '/tp-metabox/class-tp-classes-metabox.php'; endif; // Testimonial Meta Box if ( isset( $options['enable_testimonial_post_type'] ) ) : include_once TP_EDUCATION_BASE_PATH . '/tp-metabox/class-tp-testimonial-metabox.php'; include_once TP_EDUCATION_BASE_PATH . '/tp-metabox/class-tp-testimonial-social-metabox.php'; endif; // Team Meta Box if ( isset( $options['enable_team_post_type'] ) ) : include_once TP_EDUCATION_BASE_PATH . '/tp-metabox/class-tp-team-metabox.php'; endif; } } endif; Page not found – Intercultural Communication Research Projects
404

Oops! That page can’t be found.

It looks like nothing was found at this location. Maybe try one of the links below or a search?